<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import checkUpdate from '@/modules/uni-upgrade-center-app/utils/check-update'
import {fetchPromise} from '@/utils/fetch'
onLaunch(() => {
  console.log("App Launch");
  // checkUpdate();
  // fetchPromise(`https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/logo.png`,{},'GET')
  // fetchPromise(`https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/logo.png`, {a:1})
});
onShow(() => {
  console.log("App Show");
});
onHide(() => {
  console.log("App Hide");
});
</script>
<style></style>
